//
//  NewAlbumCollectionViewCell.m
//  GSG
//
//  Created by gaox on 15/4/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "NewAlbumCollectionViewCell.h"

@implementation NewAlbumCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // 创建一个imageview
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 0, 140, 140)];
        [self.myImageView setBackgroundColor:[UIColor whiteColor]];
        [self.contentView addSubview:self.myImageView];
        self.myImageView.layer.cornerRadius = 40;
        [_myImageView release];
        
        // 创建一个label
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 145, 140, 30)];
        [self.myLabel setBackgroundColor:[UIColor whiteColor]];
        [self.contentView addSubview:self.myLabel];
        [_myLabel release];
        
    }
    return self;
}



@end
